package cc.comac.mom.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cc.comac.mom.api.QualityAsrCheckFormDetailService;
import cc.comac.mom.bean.QualityAsrCheckFormDetail;
import cc.comac.mom.util.ResultBean;
import io.swagger.annotations.ApiOperation;


@RestController
@RequestMapping("/QualityAsrCheckFormDetail")
public class QualityAsrCheckFormDetailController {

	@Autowired
	private QualityAsrCheckFormDetailService qualityAsrCheckFormDetailService;

	@ApiOperation("新增删除修改表单详情数据")
	@RequestMapping(value = "/batchInsertAsrCheckFormDetail", method = RequestMethod.POST)
	public ResultBean batchInsertAsrCheckFormDetail(@RequestBody List<QualityAsrCheckFormDetail> list) {
		ResultBean batchInsertAsrCheckFormDetail = qualityAsrCheckFormDetailService.batchInsertAsrCheckFormDetail(list);
		return batchInsertAsrCheckFormDetail;
	}
}
